package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the REG_PREDIOS_ANDAHUAYLAS database table.
 * 
 */
//@Entity
//@Table(name="REG_PREDIOS_ANDAHUAYLAS")
public class RegPrediosAndahuayla implements Serializable {
	private static final long serialVersionUID = 1L;
	private String agntSync;
	private String distId;
	private String dptoId;
	private String estado;
	private String noVia;
	private String noZona;
	private BigDecimal nsPred;
	private String nuInmb;
	private String numInter;
	private String paisId;
	private String provId;
	private BigDecimal refnumPart;
	private String tipoInter;
	private String tipoNumer;
	private String tipoVia;
	private String tipoZona;
	private Date tsUltSync;

    public RegPrediosAndahuayla() {
    }


	@Column(name="AGNT_SYNC", length=4)
	public String getAgntSync() {
		return this.agntSync;
	}

	public void setAgntSync(String agntSync) {
		this.agntSync = agntSync;
	}


	@Column(name="DIST_ID", nullable=false, length=2)
	public String getDistId() {
		return this.distId;
	}

	public void setDistId(String distId) {
		this.distId = distId;
	}


	@Column(name="DPTO_ID", nullable=false, length=2)
	public String getDptoId() {
		return this.dptoId;
	}

	public void setDptoId(String dptoId) {
		this.dptoId = dptoId;
	}


	@Column(length=1)
	public String getEstado() {
		return this.estado;
	}

	public void setEstado(String estado) {
		this.estado = estado;
	}


	@Column(name="NO_VIA", length=100)
	public String getNoVia() {
		return this.noVia;
	}

	public void setNoVia(String noVia) {
		this.noVia = noVia;
	}


	@Column(name="NO_ZONA", nullable=false, length=100)
	public String getNoZona() {
		return this.noZona;
	}

	public void setNoZona(String noZona) {
		this.noZona = noZona;
	}


	@Column(name="NS_PRED", nullable=false, precision=5)
	public BigDecimal getNsPred() {
		return this.nsPred;
	}

	public void setNsPred(BigDecimal nsPred) {
		this.nsPred = nsPred;
	}


	@Column(name="NU_INMB", nullable=false, length=100)
	public String getNuInmb() {
		return this.nuInmb;
	}

	public void setNuInmb(String nuInmb) {
		this.nuInmb = nuInmb;
	}


	@Column(name="NUM_INTER", length=100)
	public String getNumInter() {
		return this.numInter;
	}

	public void setNumInter(String numInter) {
		this.numInter = numInter;
	}


	@Column(name="PAIS_ID", nullable=false, length=2)
	public String getPaisId() {
		return this.paisId;
	}

	public void setPaisId(String paisId) {
		this.paisId = paisId;
	}


	@Column(name="PROV_ID", nullable=false, length=2)
	public String getProvId() {
		return this.provId;
	}

	public void setProvId(String provId) {
		this.provId = provId;
	}


	@Column(name="REFNUM_PART", nullable=false)
	public BigDecimal getRefnumPart() {
		return this.refnumPart;
	}

	public void setRefnumPart(BigDecimal refnumPart) {
		this.refnumPart = refnumPart;
	}


	@Column(name="TIPO_INTER", nullable=false, length=2)
	public String getTipoInter() {
		return this.tipoInter;
	}

	public void setTipoInter(String tipoInter) {
		this.tipoInter = tipoInter;
	}


	@Column(name="TIPO_NUMER", nullable=false, length=2)
	public String getTipoNumer() {
		return this.tipoNumer;
	}

	public void setTipoNumer(String tipoNumer) {
		this.tipoNumer = tipoNumer;
	}


	@Column(name="TIPO_VIA", nullable=false, length=2)
	public String getTipoVia() {
		return this.tipoVia;
	}

	public void setTipoVia(String tipoVia) {
		this.tipoVia = tipoVia;
	}


	@Column(name="TIPO_ZONA", nullable=false, length=2)
	public String getTipoZona() {
		return this.tipoZona;
	}

	public void setTipoZona(String tipoZona) {
		this.tipoZona = tipoZona;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_ULT_SYNC")
	public Date getTsUltSync() {
		return this.tsUltSync;
	}

	public void setTsUltSync(Date tsUltSync) {
		this.tsUltSync = tsUltSync;
	}

}